placesview: List only available protocols as available
authorAntónio Fernandes <antoniof@gnome.org>
Sat, 24 Nov 2018 01:49:43 +0000 (01:49 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 14 Dec 2018 17:30:52 +0000 (12:30 -0500)
commit7601bca7587dd29bde3d1554e644a10ae6dafc18
tree0543ca7a7b5dc559480730cfc9672f8f2473ff1b
parent3bbfff9280106742df1c3c4582f07c6febffb392
placesview: List only available protocols as available

We display a list of supported protocols in the server_addresses_popover.

However, this curated list contains protocols which may or may not be
available, depending on the respective gvfs backend being installed.

So, populate the list only with protocols which are available.

https://gitlab.gnome.org/GNOME/gtk/issues/1476
gtk/gtkplacesview.c
gtk/ui/gtkplacesview.ui